﻿using System;

namespace _51_按位平移_运算符
{
    class Program
    {
        static void Main(string[] args)
        {
            int x = 305;
            int y = 1060;
            Console.WriteLine($"{Convert.ToString(x, 2)}向左移3位，得到：{Convert.ToString(x << 3, 2)}");
            Console.WriteLine($"{Convert.ToString(y, 2)}向右移4位，得到：{Convert.ToString(y >> 2, 2)}");
        }
    }
}
